package client;

import java.rmi.Naming;

import network.ServerUpdates;


import server.ServerUpdateImpl;

public class main {

	public static void main( String args[] ){
		//new Foop1GameClient();
		try {
		      ServerUpdates server = (ServerUpdates)Naming.lookup("//127.0.0.1/ServerUpdate");
		      server.registerClient( new ClientUpdateImpl());
		      //server.DirectionUpdate( "TEEEST");
		    }
		    catch (Exception ex)
		    {
		    	ex.printStackTrace();
		    }
	}
}
